﻿using System;

namespace FBGraph
{
    /// <summary>Defines functionality for classes that provide access to specific areas of the Graph API.</summary>
    public interface IFBGraphController
    {
        /// <summary>A reference to a <see cref="IFBGraphContext" /> implementation.</summary>
        IFBGraphContext Context { get; }

        /// <summary>Gets an optional array of field names that will be used to select fields for the query instead of the default set of fields.</summary>
        /// <returns>An array of field names.</returns>
        String[] GetFields();
    }
}